package entity;

public class Host {
    private String hostname;
    private Pet pet;

    public Host(){

    }

    public Host(String hostname,Pet pet) {
        this.hostname = hostname;
        this.pet=pet;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(String hostname) {
        this.hostname = hostname;
    }

    public Pet getPet() {
        return pet;
    }

    public void setPet(Pet pet) {
        this.pet = pet;
    }

    public void  print(){
        System.out.println(hostname);
    }
}
